/**
 * 传入不同的形参，判断会不会自动调用合适的重载方法
 */
public class Main5 {
    public static void main(String[] args) {
        Overload mo = new Overload();
        mo.sum(5,3);
        mo.sum(2);
        mo.sum(1.1,2.2);
        short s1 = 7;
        short s2 = 8;
        mo.sum(s1,s2);

        long l1= 6;
        long l2 = 7;
        mo.sum(l1, l2);

        float f1 = 3.3f;
        float f2 = 4.4f;
        mo.sum(f1, f2);

    }
}
